<template>
	<view 
	@click="goPage('/pages/aPackage/goodsDetail/goodsDetail?goods_id=' + options.goods_id)"
	class="item animate__animated animate__fadeIn animate__faster" 
	hover-class="hover">
		<u--image
		:showLoading="true" 
		:src="options.list_pic_url" 
		width="290rpx" 
		height="290rpx"></u--image>
		<view class="item_bottom">
			<view class="item_bottom_name l-line1">{{options.goods_name}}</view>
			<view class="item_bottom_price">￥{{options.shop_price}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			options: {
				type: Object,
				default: function() {
					return {}
				}
			}
		}
	}
</script>

<style lang="scss" scoped>
	.item {
		background-color: #ffffff;
		border-radius: 20rpx;
		margin: 10rpx;
		width: 345rpx;
		padding: 20rpx;
		box-sizing: border-box;
		&_bottom {
			margin-top: 10rpx;
			padding: 20rpx;
			box-sizing: border-box;
			&_name {
				font-size: 28rpx;
				color: #000000;
				height: 32rpx;
				line-height: 32rpx;
			}
			&_price {
				margin-top: 20rpx;
				font-size: 28rpx;
				font-weight: 700;
				color: #E81526;
			}
		}
	}
</style>